package com.redsea.rsadmin.common.db;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

import com.redsea.rsadmin.common.SourceHandler;

public class DetermineDataSource extends AbstractRoutingDataSource {

	@Override
	protected Object determineCurrentLookupKey() {
		return SourceHandler.getKey();
	}

}
